<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OptProjectDocument.aspx.cs"
    Inherits="OptProjectDocument" Culture="auto:en-US" UICulture="auto" meta:resourcekey="PageResource2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="ip.css" rel="stylesheet" type="text/css" />
</head>
<body class="submit">
    <form id="form1" method="post" enctype="multipart/form-data" runat="server">
    <table width="700px">
        <tr>
            <td align="left" style="width: 600px">
                <asp:ImageButton ID="ibProjectInfo" runat="server" ImageUrl="~/Images/p_ProjInfo-en-us.gif"
                    meta:resourcekey="ibProjectInfoResource1" OnClick="ibProjectInfo_Click" />
                <asp:ImageButton ID="ibViewDoc" runat="server" ImageUrl="~/Images/p_ViewDoc-en-us.gif"
                    meta:resourcekey="ibViewDocResource1" OnClick="ibViewDoc_Click" />
                <asp:ImageButton ID="ibProjectHeaderInfo" runat="server" ImageUrl="~/Images/p_AppProc-en-us.gif"
                    meta:resourcekey="ibProjectHeaderInfoResource1" OnClick="ibProjectHeaderInfo_Click" />
                <asp:ImageButton ID="ibExpenditure" runat="server" ImageUrl="~/Images/p_Finance-en-us.gif"
                    meta:resourcekey="ibExpenditureResource1" OnClick="ibExpenditure_Click" />
                <asp:TextBox ID="txtProjectGroupID" runat="server" Visible="False" Width="41px"></asp:TextBox><asp:TextBox
                    ID="txtProjectCode" runat="server" Visible="False" Width="41px" />
                <asp:TextBox ID="txtType" runat="server" Visible="False" Width="41px" />
                <br />
            </td>
        </tr>
    </table>
    <table width="700px">
        <tr>
            <td align="center" style="width: 600px">
                <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="true" CssClass="error"/>
            </td>
        </tr>
        <tr>
            <td align="center" style="text-align: left; width: 650px; height: 5px;">
                <asp:Button ID="btnSection1" Width="120" runat="server" Text="Section1" OnClick="btnSection1_Click" />
                <asp:Button ID="btnSection2" Width="120" runat="server" Text="Section2" OnClick="btnSection2_Click" />
                <asp:Button ID="btnSection3" Width="120" runat="server" Text="Section3" OnClick="btnSection3_Click" />
                <asp:Button ID="btnSection4" Width="120" runat="server" Text="Section4" OnClick="btnSection4_Click" />
                <asp:Button ID="btnSection5" Width="120" runat="server" Text="Section5" OnClick="btnSection5_Click" />
                <asp:Button ID="btnSection6" Width="120" runat="server" Text="Section6" OnClick="btnSection6_Click" />
                <asp:Button ID="btnSection7" Width="120" runat="server" Text="Section7" OnClick="btnSection7_Click" />
                <asp:Button ID="btnSection8" Width="120" runat="server" Text="Section8" OnClick="btnSection8_Click" />
                <asp:Button ID="btnSection9" Width="120" runat="server" Text="Section9" OnClick="btnSection9_Click" />
                <asp:Button ID="btnSection10" Width="120" runat="server" Text="Section10" OnClick="btnSection10_Click" />
            </td>
        </tr>
    </table>
    <asp:Panel ID="PanelList" runat="server" Height="100%" Width="700px" meta:resourcekey="PanelListResource2">
        <asp:Panel ID="PanelSection1" runat="server" Height="50px" Width="700px" meta:resourcekey="PanelSection1Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td>
                        <asp:Label ID="lblSection1" runat="server" Font-Bold="True" Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
                            Font-Size="Small" Text="Section I - Quotation" meta:resourcekey="lblSection1Resource3"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnSect1_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect1_Add_Click" meta:resourcekey="btnSect2_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView ID="gvProjDoc" runat="server" BackColor="#DEBA84"
					BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
					AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete" Width="700px" CssClass="Grid" 
					OnSelectedIndexChanged="OnSelectedIndexChanged" 
					OnRowDataBound="OnRowDataBound"
					OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource100"/>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource101"/>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name" ItemStyle-Width="250px" meta:resourcekey="ButtonFieldResource10"/>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:yyyy-MM-dd}" HeaderText="Date Added" HtmlEncode="False" SortExpression="DateAdded" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource103"/>
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
							<asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection2" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection2Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection2" runat="server" Font-Bold="True" Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
                            Font-Size="Small" meta:resourcekey="lblSection2Resource2" Text="Section II - Pre-Filing"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect2_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect2_Add_Click"
                            meta:resourcekey="btnSect2_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc2" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc2Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource100"/>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource101"/>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name" Text="Button" ItemStyle-Width="250px" meta:resourcekey="ButtonFieldResource10" Visible="True"/>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:yyyy-MM-dd}" HeaderText="Date Added" HtmlEncode="False" SortExpression="DateAdded" ItemStyle-Width="100px" meta:resourcekey="BoundFieldResource103"/>
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection3" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection3Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection3" runat="server" Text="Section III - Office Actions" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection3Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 305px;">
                        <asp:Button ID="btnSect3_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect3_Add_Click"
                            meta:resourcekey="btnSect3_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc3" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc3Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource111">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource112">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource11" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource3" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource113">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource114">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource115" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource116" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource117" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource118" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource119" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource120" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource121" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection4" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection4Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection4" runat="server" Text="Section IV - Grant" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection4Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect4_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect4_Add_Click"
                            meta:resourcekey="btnSect4_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc4" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc4Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource122">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource123">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource12" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource4" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource124">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource125">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource126" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource127" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource128" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource129" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource130" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource131" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource132" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection5" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection5Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection5" runat="server" Text="Section V - Renewal" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection5Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect5_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect5_Add_Click"
                            meta:resourcekey="btnSect5_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc5" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc5Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource133">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource134">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource13" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource5" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource135">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource136">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource137" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource138" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource139" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource140" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource141" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource142" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource143" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection6" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection6Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection6" runat="server" Text="Section VI - Patent Application Grant"
                            Font-Bold="True" Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
                            Font-Size="Small" meta:resourcekey="lblSection6Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect6_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect6_Add_Click"
                            meta:resourcekey="btnSect6_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:TextBox ID="TextBox1" runat="server" Visible="False" meta:resourcekey="TextBox1Resource1"></asp:TextBox>
            <asp:TextBox ID="TextBox2" runat="server" Visible="False" meta:resourcekey="TextBox2Resource1"></asp:TextBox>
            <asp:TextBox ID="TextBox3" runat="server" Visible="False" meta:resourcekey="TextBox3Resource1"></asp:TextBox>
            <asp:TextBox ID="TextBox4" runat="server" Visible="False" meta:resourcekey="TextBox4Resource1"></asp:TextBox>
            <asp:TextBox ID="TextBox5" runat="server" Visible="False" meta:resourcekey="TextBox5Resource1"></asp:TextBox>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc6" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc6Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource144">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource145">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource14" Visible="true">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource6" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource146">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource147">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource148" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource149" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource150" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource151" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource152" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource153" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource154" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection7" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection7Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection7" runat="server" Text="Section VII - ITC" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection7Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect7_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect7_Add_Click"
                            meta:resourcekey="btnSect7_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc7" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc7Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource155">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource156">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource15" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource7" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource157">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource158">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource159" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource160" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource161" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource162" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource163" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource164" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource165" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection8" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection8Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection8" runat="server" Text="Section VIII - Legal Documents"
                            Font-Bold="True" Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
                            Font-Size="Small" meta:resourcekey="lblSection8Resource2"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect8_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect8_Add_Click"
                            meta:resourcekey="btnSect8_AddResource2" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc8" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc8Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource166">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource167">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource16" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource8" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource168">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource169">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource170" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource171" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource172" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource173" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource174" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource175" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource176" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection9" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection9Resource1">
            <table style="width: 700px; background-color: cornflowerblue;">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection9" runat="server" Text="Section IX - Finance" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection9Resource1"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect9_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect9_Add_Click"
                            meta:resourcekey="btnSect9_AddResource1" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc9" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc8Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource166">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource167">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource16" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource9" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource168">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource169">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource170" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource171" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource172" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource173" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource174" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource175" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource176" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
							<asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="PanelSection10" runat="server" Height="50px" Width="700px" Visible="False"
            meta:resourcekey="PanelSection10Resource1">
            <table style="width: 700px; background-color: cornflowerblue">
                <tr>
                    <td style="width: 323px;">
                        <asp:Label ID="lblSection10" runat="server" Text="Section X - Miscellaneous" Font-Bold="True"
                            Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif" Font-Size="Small"
                            meta:resourcekey="lblSection10Resource1"></asp:Label>&nbsp;
                    </td>
                    <td colspan="2" style="width: 323px;">
                        <asp:Button ID="btnSect10_Add" runat="server" Text="Add" CssClass="submit" OnClick="btnSect10_Add_Click"
                            meta:resourcekey="btnSect10_AddResource1" />
                    </td>
                </tr>
            </table>
            <asp:GridView Width="700px" CssClass="Grid" ID="gvProjDoc10" runat="server" BackColor="#DEBA84"
                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                AutoGenerateColumns="False" DataKeyNames="ProjectCode,FileName,Section,Type,IsDelete"
                meta:resourcekey="gvProjDoc8Resource2" AllowPaging="True"
                OnSelectedIndexChanged="OnSelectedIndexChanged" 
                OnRowDataBound="OnRowDataBound"
                OnRowCommand="OnRowCommand">
                <Columns>
                    <asp:BoundField DataField="TypeSeq" HeaderText="Seq" SortExpression="TypeSeq" meta:resourcekey="BoundFieldResource166">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource167">
                        <ItemStyle Width="150px" Wrap="True" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Select" DataTextField="FileName" HeaderText="Document Name"
                        Text="Button" meta:resourcekey="ButtonFieldResource16" Visible="True">
                        <ItemStyle Width="250px" />
                    </asp:ButtonField>
                    <asp:HyperLinkField Visible="False" DataNavigateUrlFields="Filepath" DataNavigateUrlFormatString="{0}"
                        DataTextField="FileName" HeaderText="Document Name" Target="_blank" meta:resourcekey="HyperLinkFieldResource10" />
                    <asp:BoundField DataField="FileName" HeaderText="Document Name" ReadOnly="True" SortExpression="FileName"
                        Visible="False" meta:resourcekey="BoundFieldResource168">
                        <ItemStyle Width="250px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DateAdded" DataFormatString="{0:d}" HeaderText="Date Added"
                        HtmlEncode="False" SortExpression="DateAdded" meta:resourcekey="BoundFieldResource169">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ProjectCode" HeaderText="ProjectCode" ReadOnly="True"
                        SortExpression="ProjectCode" Visible="False" meta:resourcekey="BoundFieldResource170" />
                    <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section"
                        Visible="False" meta:resourcekey="BoundFieldResource171" />
                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource172" />
                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                        Visible="False" meta:resourcekey="BoundFieldResource173" />
                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                        Visible="False" meta:resourcekey="BoundFieldResource174" />
                    <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description"
                        Visible="False" meta:resourcekey="BoundFieldResource175" />
                    <asp:BoundField DataField="Folder" HeaderText="Folder" SortExpression="Folder" Visible="False"
                        meta:resourcekey="BoundFieldResource176" />
                    <asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="center">
                        <ItemTemplate>
                           <asp:Label ID="lblIsDelete" runat="server" Text='<%# Eval("IsDelete") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="btnDelete" runat="server" CommandName="Remove" ImageUrl="Images/icon-delete.jpg" />
                            <asp:ImageButton ID="btnRestore" runat="server" CommandName="Restore" ImageUrl="Images/icon-save.gif"/>
                            <asp:ImageButton ID="btnTrash" runat="server" CommandName="Trash" ImageUrl="Images/icon-delete.jpg"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
                <RowStyle CssClass="GridRowStyle" />
                <AlternatingRowStyle CssClass="GridAltRowStyle" />
                <SelectedRowStyle CssClass="GridSelectedRowStyle" />
                <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
                <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
        </asp:Panel>
    </asp:Panel>
    <asp:Panel ID="PanelDetail" runat="server" Height="50px" Width="631px" HorizontalAlign="Center"
        Visible="False" meta:resourcekey="PanelDetailResource2">
        <table style="width: 700px; background-color: cornflowerblue;">
            <tr height="40px">
                <td align="left">
                    <asp:Label ID="lblAddTitle" runat="server" Font-Bold="True" Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
                        Font-Size="Small" Text="" meta:resourcekey="lblSection1Resource3"></asp:Label>
                </td>
            </tr>
        </table>
        <div style="padding: 10px">
            <fieldset>
                <table style="width: 650px">
                    <tr>
                        <td width="200" align="left">
                            <asp:Label ID="lblType" runat="server" Text="Document Type" meta:resourcekey="lblTypeResource2"></asp:Label>
                        </td>
                        <td width="450" align="left">
                            <asp:ObjectDataSource ID="ODSDocType" runat="server" OldValuesParameterFormatString="original_{0}"
                                SelectMethod="GetDocTypeBySection" TypeName="IPTableAdapters.DocumentTypeTableAdapter"
                                DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
                                <SelectParameters>
                                    <asp:ControlParameter ControlID="txtSectionHidden" DefaultValue="0" Name="Section"
                                        PropertyName="Text" Type="String" />
                                </SelectParameters>
                                <DeleteParameters>
                                    <asp:Parameter Name="Original_Section" Type="String" />
                                    <asp:Parameter Name="Original_Type" Type="String" />
                                </DeleteParameters>
                                <InsertParameters>
                                    <asp:Parameter Name="Section" Type="String" />
                                    <asp:Parameter Name="TypeSeq" Type="String" />
                                    <asp:Parameter Name="Type" Type="String" />
                                    <asp:Parameter Name="Folder" Type="String" />
                                    <asp:Parameter Name="CreateBy" Type="String" />
                                    <asp:Parameter Name="UpdateBy" Type="String" />
                                    <asp:Parameter Name="OwnerGroupID" Type="String" />
                                    <asp:Parameter Name="CreateIP" Type="String" />
                                </InsertParameters>
                                <UpdateParameters>
                                    <asp:Parameter Name="IsDelete" Type="Boolean" />
                                    <asp:Parameter Name="DeleteBy" Type="String" />
                                    <asp:Parameter Name="DeleteIP" Type="String" />
                                    <asp:Parameter Name="Original_ProjectCode" Type="String" />
                                    <asp:Parameter Name="Original_FileName" Type="String" />
                                    <asp:Parameter Name="Original_Section" Type="String" />
                                    <asp:Parameter Name="Original_Type" Type="String" />
                                </UpdateParameters>
                            </asp:ObjectDataSource>
                            <asp:DropDownList ID="ddlDocType" runat="server" Width="153px" meta:resourcekey="ddlDocTypeResource2">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:Label ID="lblDocName" runat="server" Text="Document Name" meta:resourcekey="lblDocNameResource2"></asp:Label>
                        </td>
                        <td align="left">
                            <input id="uplTheFile" type="file" runat="server" style="width: 371px" />
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:Label ID="lblDocSaveName" Visible="false" runat="server" Text="Save Name" meta:resourcekey="lblDocSaveNameResource1"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtDocSaveName" Visible="false" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <asp:Button ID="btnSave" runat="server" CssClass="submit" Text="Save" Width="72px"
                                OnClick="btnSave_Click" meta:resourcekey="btnSaveResource2" />
                            <asp:Button ID="btnCancel" runat="server" CausesValidation="False" CssClass="reset"
                                Text="Cancel" Width="72px" OnClick="btnCancel_Click" meta:resourcekey="btnCancelResource2" />
                        </td>
                    </tr>
                    <asp:TextBox ID="txtSectionHidden" runat="server" CssClass="hidden" meta:resourcekey="txtSectionHiddenResource2"></asp:TextBox>
                </table>
            </fieldset>
        </div>
    </asp:Panel>
    </form>
</body>
</html>
